package com.bluesky.dto.lesson032;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

@Data
public class CreateOrderRequest {

    @NotBlank(message = "商品不能空")
    private String goods;

    @NotBlank(message = "订单金额不能为空")
    private BigDecimal price;

    /**
     * 投递的消息延迟时间
     */

    private Long delaySeconds;
}
